﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DataAccess;
namespace SQT.tracnghiem.Ajax.ASP.Lesson
{
    public partial class edit_lesson : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            int id = int.Parse(Request.QueryString["id"]);
            string name = Request.QueryString["name"];
            string role = Request.QueryString["role"];
            string active = Request.QueryString["active"];
            bool bo_active = false;
            if (active == "1")
                bo_active = true;
            new TblLessonController().Update(id, name,null,role,bo_active,null,null);
        }
    }
}